enum Status {
    MESSAGE = 1,
    SPA= 3,
    DBJ,
}

function getServe16(status:number) {
    if(status ===Status.MESSAGE) {
        return 'message'
    } else if(status === Status.SPA) {
        return 'spa'
    } else if(status === Status.DBJ) {
        return 'dbj'
    }
}

console.log(Status.MESSAGE);
console.log(Status.SPA);

console.log(Status[1]);


const result = getServe16(1)
console.log(result);
